<%@page contentType="text/html; charset=utf-8" language="java"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>设备信息管理</title>
	<jsp:include page="/common/header-common.jsp"></jsp:include>
	<script type="text/javascript">
		function expExcel() {
			window.location = "../expexcel.action?type=endQuery";
		}
	</script>
</head>
	<body id="endquery">
	<div id="aaaa" style="position: absolute;top: 0px; left: 0px;"></div>
		<div id="wrapper">
			<s:include value="/common/header.jsp"></s:include>
			<form id="searchFrm" name="searchFrm" method="post" action="endQuery.action">
			<jsp:include page="navication.jsp"></jsp:include>
			<div id="rss_content">
				<div class="rss_title">设备信息管理</div>
				<div class="rss_description">您在这里查看的是设备信息</div>
				<s:if test="message != null">
					<div class="return_tip">
						<s:property value="message" />
					</div>
				</s:if>
				<table width="98%" border="0" cellpadding="1" cellspacing="5" class="tab_1">
							<tr>
								<td>
									<img src="../images/bt_exp.jpg" width="71" height="23"
											align="absmiddle" onClick="expExcel()" />
								</td>
							</tr>
							<tr>
								<td valign="top" align="center">
									<table width="98%" border="0" cellpadding="1" cellspacing="1"
										id="listTable" class="tab_1">
										<tr align="left">
											<td width="25%" align="center"
												background="../images/tabbg.gif">
												设备号
											</td>
											<td width="25%" align="center"
												background="../images/tabbg.gif">
												车号
											</td>
										 	<td width="25%" align="center"
												background="../images/tabbg.gif">
												缴费时间
											</td>
											<td width="25%" align="center"
												background="../images/tabbg.gif">
												到期时间
											</td>
										</tr>
										<s:iterator value="suser.sdevices" id="sdevice" status="stat">
											<s:if test="#stat.odd == true">
												<tr class="even" align="center"
													onMouseOver="this.className='myover'"
													onMouseOut="this.className='even'">
											</s:if>
											<s:else>
												<tr class="odd" align="center"
													onMouseOver="this.className='myover'"
													onMouseOut="this.className='odd'">
											</s:else>
											<td align="left" height="25">
												<s:property value='devicenum' />
											</td>
											<td align="center" height="25">
												<s:property value='carnum' />
											</td>
											<td align="center" height="25">
												<s:date name="starttime" format="yyyy-MM-dd"/>
											</td>
											<td align="center" height="25">
												<s:date name="endtime" format="yyyy-MM-dd"/>
											</td>
											</tr>
										</s:iterator>
									</table>
								</td>
							</tr>
						</table>
			</div>
			</form>
			<div style="clear: both;"></div>
			<div style="height: 40px;" ></div>
			<s:include value="/common/footer.jsp"></s:include>
		</div>
		
	</body>
</html>